﻿{% load i18n %}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>Genericon XXIIII - {% block title %}2011{% endblock %}</title>
        <link href="/media/styles.css" rel="stylesheet" type="text/css" />
    </head>
    
    <body class="genericonMain">
        <div id="container">
            <div id="bodyContainer">
		<div class="logo">
		<img src='/media/genericonlogo.png' width=600>
		</div>
                <div class="navBar">
			<a href='/news/'>News</a> <a href='/contact/'>Contact</a> <a href='/forum/'>Forum</a> 
            
            		{% if user.is_staff %}
            			<a href='/filemanager/'>Upload</a>
				<a href='/admin/'>Admin Panel</a>
            		{% endif %}
			<div class="log">
           			{% if user.is_authenticated %}
          				<a>Logged in: {{ user.username }}</a>
					<a href="{% url auth_password_change %}">{% trans "Change password" %}</a>
					<a href="{% url auth_logout %}">Log out</a>
				{% else %}
					<a href="{% url auth_login %}">{% trans "Log in" %}</a>
				{% endif %}
			</div>
                </div>
		<div class=content>
                {% block content %}{% endblock %}
		</div>
            </div>
        </div>
    </body>
</html>
